package com.greyu.ysj.entity;

import java.util.ArrayList;
import java.util.List;

public class InvTreeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    private Boolean forUpdate;

    public InvTreeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    public void setForUpdate(Boolean forUpdate) {
        this.forUpdate = forUpdate;
    }

    public Boolean getForUpdate() {
        return forUpdate;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("Id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("Id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("Id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("Id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("Id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("Id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("Id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("Id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("Id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("Id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("Id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("Id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andIsCreatFlagIsNull() {
            addCriterion("is_creat_flag is null");
            return (Criteria) this;
        }

        public Criteria andIsCreatFlagIsNotNull() {
            addCriterion("is_creat_flag is not null");
            return (Criteria) this;
        }

        public Criteria andIsCreatFlagEqualTo(String value) {
            addCriterion("is_creat_flag =", value, "isCreatFlag");
            return (Criteria) this;
        }

        public Criteria andIsCreatFlagNotEqualTo(String value) {
            addCriterion("is_creat_flag <>", value, "isCreatFlag");
            return (Criteria) this;
        }

        public Criteria andIsCreatFlagGreaterThan(String value) {
            addCriterion("is_creat_flag >", value, "isCreatFlag");
            return (Criteria) this;
        }

        public Criteria andIsCreatFlagGreaterThanOrEqualTo(String value) {
            addCriterion("is_creat_flag >=", value, "isCreatFlag");
            return (Criteria) this;
        }

        public Criteria andIsCreatFlagLessThan(String value) {
            addCriterion("is_creat_flag <", value, "isCreatFlag");
            return (Criteria) this;
        }

        public Criteria andIsCreatFlagLessThanOrEqualTo(String value) {
            addCriterion("is_creat_flag <=", value, "isCreatFlag");
            return (Criteria) this;
        }

        public Criteria andIsCreatFlagLike(String value) {
            addCriterion("is_creat_flag like", value, "isCreatFlag");
            return (Criteria) this;
        }

        public Criteria andIsCreatFlagNotLike(String value) {
            addCriterion("is_creat_flag not like", value, "isCreatFlag");
            return (Criteria) this;
        }

        public Criteria andIsCreatFlagIn(List<String> values) {
            addCriterion("is_creat_flag in", values, "isCreatFlag");
            return (Criteria) this;
        }

        public Criteria andIsCreatFlagNotIn(List<String> values) {
            addCriterion("is_creat_flag not in", values, "isCreatFlag");
            return (Criteria) this;
        }

        public Criteria andIsCreatFlagBetween(String value1, String value2) {
            addCriterion("is_creat_flag between", value1, value2, "isCreatFlag");
            return (Criteria) this;
        }

        public Criteria andIsCreatFlagNotBetween(String value1, String value2) {
            addCriterion("is_creat_flag not between", value1, value2, "isCreatFlag");
            return (Criteria) this;
        }

        public Criteria andLevelIndexIsNull() {
            addCriterion("level_index is null");
            return (Criteria) this;
        }

        public Criteria andLevelIndexIsNotNull() {
            addCriterion("level_index is not null");
            return (Criteria) this;
        }

        public Criteria andLevelIndexEqualTo(Integer value) {
            addCriterion("level_index =", value, "levelIndex");
            return (Criteria) this;
        }

        public Criteria andLevelIndexNotEqualTo(Integer value) {
            addCriterion("level_index <>", value, "levelIndex");
            return (Criteria) this;
        }

        public Criteria andLevelIndexGreaterThan(Integer value) {
            addCriterion("level_index >", value, "levelIndex");
            return (Criteria) this;
        }

        public Criteria andLevelIndexGreaterThanOrEqualTo(Integer value) {
            addCriterion("level_index >=", value, "levelIndex");
            return (Criteria) this;
        }

        public Criteria andLevelIndexLessThan(Integer value) {
            addCriterion("level_index <", value, "levelIndex");
            return (Criteria) this;
        }

        public Criteria andLevelIndexLessThanOrEqualTo(Integer value) {
            addCriterion("level_index <=", value, "levelIndex");
            return (Criteria) this;
        }

        public Criteria andLevelIndexIn(List<Integer> values) {
            addCriterion("level_index in", values, "levelIndex");
            return (Criteria) this;
        }

        public Criteria andLevelIndexNotIn(List<Integer> values) {
            addCriterion("level_index not in", values, "levelIndex");
            return (Criteria) this;
        }

        public Criteria andLevelIndexBetween(Integer value1, Integer value2) {
            addCriterion("level_index between", value1, value2, "levelIndex");
            return (Criteria) this;
        }

        public Criteria andLevelIndexNotBetween(Integer value1, Integer value2) {
            addCriterion("level_index not between", value1, value2, "levelIndex");
            return (Criteria) this;
        }

        public Criteria andRootIsNull() {
            addCriterion("root is null");
            return (Criteria) this;
        }

        public Criteria andRootIsNotNull() {
            addCriterion("root is not null");
            return (Criteria) this;
        }

        public Criteria andRootEqualTo(String value) {
            addCriterion("root =", value, "root");
            return (Criteria) this;
        }

        public Criteria andRootNotEqualTo(String value) {
            addCriterion("root <>", value, "root");
            return (Criteria) this;
        }

        public Criteria andRootGreaterThan(String value) {
            addCriterion("root >", value, "root");
            return (Criteria) this;
        }

        public Criteria andRootGreaterThanOrEqualTo(String value) {
            addCriterion("root >=", value, "root");
            return (Criteria) this;
        }

        public Criteria andRootLessThan(String value) {
            addCriterion("root <", value, "root");
            return (Criteria) this;
        }

        public Criteria andRootLessThanOrEqualTo(String value) {
            addCriterion("root <=", value, "root");
            return (Criteria) this;
        }

        public Criteria andRootLike(String value) {
            addCriterion("root like", value, "root");
            return (Criteria) this;
        }

        public Criteria andRootNotLike(String value) {
            addCriterion("root not like", value, "root");
            return (Criteria) this;
        }

        public Criteria andRootIn(List<String> values) {
            addCriterion("root in", values, "root");
            return (Criteria) this;
        }

        public Criteria andRootNotIn(List<String> values) {
            addCriterion("root not in", values, "root");
            return (Criteria) this;
        }

        public Criteria andRootBetween(String value1, String value2) {
            addCriterion("root between", value1, value2, "root");
            return (Criteria) this;
        }

        public Criteria andRootNotBetween(String value1, String value2) {
            addCriterion("root not between", value1, value2, "root");
            return (Criteria) this;
        }

        public Criteria andReferCntIsNull() {
            addCriterion("refer_cnt is null");
            return (Criteria) this;
        }

        public Criteria andReferCntIsNotNull() {
            addCriterion("refer_cnt is not null");
            return (Criteria) this;
        }

        public Criteria andReferCntEqualTo(Integer value) {
            addCriterion("refer_cnt =", value, "referCnt");
            return (Criteria) this;
        }

        public Criteria andReferCntNotEqualTo(Integer value) {
            addCriterion("refer_cnt <>", value, "referCnt");
            return (Criteria) this;
        }

        public Criteria andReferCntGreaterThan(Integer value) {
            addCriterion("refer_cnt >", value, "referCnt");
            return (Criteria) this;
        }

        public Criteria andReferCntGreaterThanOrEqualTo(Integer value) {
            addCriterion("refer_cnt >=", value, "referCnt");
            return (Criteria) this;
        }

        public Criteria andReferCntLessThan(Integer value) {
            addCriterion("refer_cnt <", value, "referCnt");
            return (Criteria) this;
        }

        public Criteria andReferCntLessThanOrEqualTo(Integer value) {
            addCriterion("refer_cnt <=", value, "referCnt");
            return (Criteria) this;
        }

        public Criteria andReferCntIn(List<Integer> values) {
            addCriterion("refer_cnt in", values, "referCnt");
            return (Criteria) this;
        }

        public Criteria andReferCntNotIn(List<Integer> values) {
            addCriterion("refer_cnt not in", values, "referCnt");
            return (Criteria) this;
        }

        public Criteria andReferCntBetween(Integer value1, Integer value2) {
            addCriterion("refer_cnt between", value1, value2, "referCnt");
            return (Criteria) this;
        }

        public Criteria andReferCntNotBetween(Integer value1, Integer value2) {
            addCriterion("refer_cnt not between", value1, value2, "referCnt");
            return (Criteria) this;
        }

        public Criteria andAssetInvestIsNull() {
            addCriterion("asset_invest is null");
            return (Criteria) this;
        }

        public Criteria andAssetInvestIsNotNull() {
            addCriterion("asset_invest is not null");
            return (Criteria) this;
        }

        public Criteria andAssetInvestEqualTo(Double value) {
            addCriterion("asset_invest =", value, "assetInvest");
            return (Criteria) this;
        }

        public Criteria andAssetInvestNotEqualTo(Double value) {
            addCriterion("asset_invest <>", value, "assetInvest");
            return (Criteria) this;
        }

        public Criteria andAssetInvestGreaterThan(Double value) {
            addCriterion("asset_invest >", value, "assetInvest");
            return (Criteria) this;
        }

        public Criteria andAssetInvestGreaterThanOrEqualTo(Double value) {
            addCriterion("asset_invest >=", value, "assetInvest");
            return (Criteria) this;
        }

        public Criteria andAssetInvestLessThan(Double value) {
            addCriterion("asset_invest <", value, "assetInvest");
            return (Criteria) this;
        }

        public Criteria andAssetInvestLessThanOrEqualTo(Double value) {
            addCriterion("asset_invest <=", value, "assetInvest");
            return (Criteria) this;
        }

        public Criteria andAssetInvestIn(List<Double> values) {
            addCriterion("asset_invest in", values, "assetInvest");
            return (Criteria) this;
        }

        public Criteria andAssetInvestNotIn(List<Double> values) {
            addCriterion("asset_invest not in", values, "assetInvest");
            return (Criteria) this;
        }

        public Criteria andAssetInvestBetween(Double value1, Double value2) {
            addCriterion("asset_invest between", value1, value2, "assetInvest");
            return (Criteria) this;
        }

        public Criteria andAssetInvestNotBetween(Double value1, Double value2) {
            addCriterion("asset_invest not between", value1, value2, "assetInvest");
            return (Criteria) this;
        }

        public Criteria andAssetValidInvestIsNull() {
            addCriterion("asset_valid_invest is null");
            return (Criteria) this;
        }

        public Criteria andAssetValidInvestIsNotNull() {
            addCriterion("asset_valid_invest is not null");
            return (Criteria) this;
        }

        public Criteria andAssetValidInvestEqualTo(Double value) {
            addCriterion("asset_valid_invest =", value, "assetValidInvest");
            return (Criteria) this;
        }

        public Criteria andAssetValidInvestNotEqualTo(Double value) {
            addCriterion("asset_valid_invest <>", value, "assetValidInvest");
            return (Criteria) this;
        }

        public Criteria andAssetValidInvestGreaterThan(Double value) {
            addCriterion("asset_valid_invest >", value, "assetValidInvest");
            return (Criteria) this;
        }

        public Criteria andAssetValidInvestGreaterThanOrEqualTo(Double value) {
            addCriterion("asset_valid_invest >=", value, "assetValidInvest");
            return (Criteria) this;
        }

        public Criteria andAssetValidInvestLessThan(Double value) {
            addCriterion("asset_valid_invest <", value, "assetValidInvest");
            return (Criteria) this;
        }

        public Criteria andAssetValidInvestLessThanOrEqualTo(Double value) {
            addCriterion("asset_valid_invest <=", value, "assetValidInvest");
            return (Criteria) this;
        }

        public Criteria andAssetValidInvestIn(List<Double> values) {
            addCriterion("asset_valid_invest in", values, "assetValidInvest");
            return (Criteria) this;
        }

        public Criteria andAssetValidInvestNotIn(List<Double> values) {
            addCriterion("asset_valid_invest not in", values, "assetValidInvest");
            return (Criteria) this;
        }

        public Criteria andAssetValidInvestBetween(Double value1, Double value2) {
            addCriterion("asset_valid_invest between", value1, value2, "assetValidInvest");
            return (Criteria) this;
        }

        public Criteria andAssetValidInvestNotBetween(Double value1, Double value2) {
            addCriterion("asset_valid_invest not between", value1, value2, "assetValidInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAssetInvestIsNull() {
            addCriterion("team_asset_invest is null");
            return (Criteria) this;
        }

        public Criteria andTeamAssetInvestIsNotNull() {
            addCriterion("team_asset_invest is not null");
            return (Criteria) this;
        }

        public Criteria andTeamAssetInvestEqualTo(Double value) {
            addCriterion("team_asset_invest =", value, "teamAssetInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAssetInvestNotEqualTo(Double value) {
            addCriterion("team_asset_invest <>", value, "teamAssetInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAssetInvestGreaterThan(Double value) {
            addCriterion("team_asset_invest >", value, "teamAssetInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAssetInvestGreaterThanOrEqualTo(Double value) {
            addCriterion("team_asset_invest >=", value, "teamAssetInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAssetInvestLessThan(Double value) {
            addCriterion("team_asset_invest <", value, "teamAssetInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAssetInvestLessThanOrEqualTo(Double value) {
            addCriterion("team_asset_invest <=", value, "teamAssetInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAssetInvestIn(List<Double> values) {
            addCriterion("team_asset_invest in", values, "teamAssetInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAssetInvestNotIn(List<Double> values) {
            addCriterion("team_asset_invest not in", values, "teamAssetInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAssetInvestBetween(Double value1, Double value2) {
            addCriterion("team_asset_invest between", value1, value2, "teamAssetInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAssetInvestNotBetween(Double value1, Double value2) {
            addCriterion("team_asset_invest not between", value1, value2, "teamAssetInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAsssetValidInvestIsNull() {
            addCriterion("team_assset_valid_invest is null");
            return (Criteria) this;
        }

        public Criteria andTeamAsssetValidInvestIsNotNull() {
            addCriterion("team_assset_valid_invest is not null");
            return (Criteria) this;
        }

        public Criteria andTeamAsssetValidInvestEqualTo(Double value) {
            addCriterion("team_assset_valid_invest =", value, "teamAsssetValidInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAsssetValidInvestNotEqualTo(Double value) {
            addCriterion("team_assset_valid_invest <>", value, "teamAsssetValidInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAsssetValidInvestGreaterThan(Double value) {
            addCriterion("team_assset_valid_invest >", value, "teamAsssetValidInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAsssetValidInvestGreaterThanOrEqualTo(Double value) {
            addCriterion("team_assset_valid_invest >=", value, "teamAsssetValidInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAsssetValidInvestLessThan(Double value) {
            addCriterion("team_assset_valid_invest <", value, "teamAsssetValidInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAsssetValidInvestLessThanOrEqualTo(Double value) {
            addCriterion("team_assset_valid_invest <=", value, "teamAsssetValidInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAsssetValidInvestIn(List<Double> values) {
            addCriterion("team_assset_valid_invest in", values, "teamAsssetValidInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAsssetValidInvestNotIn(List<Double> values) {
            addCriterion("team_assset_valid_invest not in", values, "teamAsssetValidInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAsssetValidInvestBetween(Double value1, Double value2) {
            addCriterion("team_assset_valid_invest between", value1, value2, "teamAsssetValidInvest");
            return (Criteria) this;
        }

        public Criteria andTeamAsssetValidInvestNotBetween(Double value1, Double value2) {
            addCriterion("team_assset_valid_invest not between", value1, value2, "teamAsssetValidInvest");
            return (Criteria) this;
        }

        public Criteria andUserStarIsNull() {
            addCriterion("user_star is null");
            return (Criteria) this;
        }

        public Criteria andUserStarIsNotNull() {
            addCriterion("user_star is not null");
            return (Criteria) this;
        }

        public Criteria andUserStarEqualTo(Integer value) {
            addCriterion("user_star =", value, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarNotEqualTo(Integer value) {
            addCriterion("user_star <>", value, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarGreaterThan(Integer value) {
            addCriterion("user_star >", value, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_star >=", value, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarLessThan(Integer value) {
            addCriterion("user_star <", value, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarLessThanOrEqualTo(Integer value) {
            addCriterion("user_star <=", value, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarIn(List<Integer> values) {
            addCriterion("user_star in", values, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarNotIn(List<Integer> values) {
            addCriterion("user_star not in", values, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarBetween(Integer value1, Integer value2) {
            addCriterion("user_star between", value1, value2, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarNotBetween(Integer value1, Integer value2) {
            addCriterion("user_star not between", value1, value2, "userStar");
            return (Criteria) this;
        }

        public Criteria andTeamMaxStarIsNull() {
            addCriterion("team_max_star is null");
            return (Criteria) this;
        }

        public Criteria andTeamMaxStarIsNotNull() {
            addCriterion("team_max_star is not null");
            return (Criteria) this;
        }

        public Criteria andTeamMaxStarEqualTo(Integer value) {
            addCriterion("team_max_star =", value, "teamMaxStar");
            return (Criteria) this;
        }

        public Criteria andTeamMaxStarNotEqualTo(Integer value) {
            addCriterion("team_max_star <>", value, "teamMaxStar");
            return (Criteria) this;
        }

        public Criteria andTeamMaxStarGreaterThan(Integer value) {
            addCriterion("team_max_star >", value, "teamMaxStar");
            return (Criteria) this;
        }

        public Criteria andTeamMaxStarGreaterThanOrEqualTo(Integer value) {
            addCriterion("team_max_star >=", value, "teamMaxStar");
            return (Criteria) this;
        }

        public Criteria andTeamMaxStarLessThan(Integer value) {
            addCriterion("team_max_star <", value, "teamMaxStar");
            return (Criteria) this;
        }

        public Criteria andTeamMaxStarLessThanOrEqualTo(Integer value) {
            addCriterion("team_max_star <=", value, "teamMaxStar");
            return (Criteria) this;
        }

        public Criteria andTeamMaxStarIn(List<Integer> values) {
            addCriterion("team_max_star in", values, "teamMaxStar");
            return (Criteria) this;
        }

        public Criteria andTeamMaxStarNotIn(List<Integer> values) {
            addCriterion("team_max_star not in", values, "teamMaxStar");
            return (Criteria) this;
        }

        public Criteria andTeamMaxStarBetween(Integer value1, Integer value2) {
            addCriterion("team_max_star between", value1, value2, "teamMaxStar");
            return (Criteria) this;
        }

        public Criteria andTeamMaxStarNotBetween(Integer value1, Integer value2) {
            addCriterion("team_max_star not between", value1, value2, "teamMaxStar");
            return (Criteria) this;
        }

        public Criteria andUserphoneIsNull() {
            addCriterion("userPhone is null");
            return (Criteria) this;
        }

        public Criteria andUserphoneIsNotNull() {
            addCriterion("userPhone is not null");
            return (Criteria) this;
        }

        public Criteria andUserphoneEqualTo(String value) {
            addCriterion("userPhone =", value, "userphone");
            return (Criteria) this;
        }

        public Criteria andUserphoneNotEqualTo(String value) {
            addCriterion("userPhone <>", value, "userphone");
            return (Criteria) this;
        }

        public Criteria andUserphoneGreaterThan(String value) {
            addCriterion("userPhone >", value, "userphone");
            return (Criteria) this;
        }

        public Criteria andUserphoneGreaterThanOrEqualTo(String value) {
            addCriterion("userPhone >=", value, "userphone");
            return (Criteria) this;
        }

        public Criteria andUserphoneLessThan(String value) {
            addCriterion("userPhone <", value, "userphone");
            return (Criteria) this;
        }

        public Criteria andUserphoneLessThanOrEqualTo(String value) {
            addCriterion("userPhone <=", value, "userphone");
            return (Criteria) this;
        }

        public Criteria andUserphoneLike(String value) {
            addCriterion("userPhone like", value, "userphone");
            return (Criteria) this;
        }

        public Criteria andUserphoneNotLike(String value) {
            addCriterion("userPhone not like", value, "userphone");
            return (Criteria) this;
        }

        public Criteria andUserphoneIn(List<String> values) {
            addCriterion("userPhone in", values, "userphone");
            return (Criteria) this;
        }

        public Criteria andUserphoneNotIn(List<String> values) {
            addCriterion("userPhone not in", values, "userphone");
            return (Criteria) this;
        }

        public Criteria andUserphoneBetween(String value1, String value2) {
            addCriterion("userPhone between", value1, value2, "userphone");
            return (Criteria) this;
        }

        public Criteria andUserphoneNotBetween(String value1, String value2) {
            addCriterion("userPhone not between", value1, value2, "userphone");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}